package com.chennan.rebbitmq.leading.producer;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author chennan
 * @createTime 2021年07月08日 16:45:00
 */
public interface MyStreamOutput {

    String DATA_TO_RABBITMQ_BOOK = "dataToRabbitMQBook";

    String DATA_TO_WUZIQI = "wuzqToMessageChannel";
    /**
     * rabbitMQ生产者
     *
     * @return
     */
    @Output(DATA_TO_RABBITMQ_BOOK)
    MessageChannel dataToExcelFastOutput();

    @Output(DATA_TO_WUZIQI)
    MessageChannel wuzqToMessageChannel();
}
